let uposter = {
	poster: {
		width: '900px',
		height: '900px',
		background: '#fff',
		radius: '30px',
		views: [{
				type: 'image',
				src: 'https://7463-tcb-rflrz31u8yan4rr9ad60d-268679-1308293149.tcb.qcloud.la/1659579992133_0.png',
				mode: 'widthFix',
				css: {
					left: '150px',
					top: '100px',
					width: '600px'
				}
			},
			{
				type: 'text',
				text: '优惠券二维码名称',
				css: {
					width: '100%',
					color: '#000',
					top: '740px',
					fontSize: '52px',
					fontWeight: 'bold',
					textAlign: 'center',
					maxLines: 1
				}
			}
		]
	},
	getPosterData: function(res, base64Url) {
		this.poster.views[0].src = base64Url;
		this.poster.views[1].text = res.name;
		return this.poster;
	}
};

export default uposter;